package com.yjhh.chdataservice.repository;

import com.yjhh.chdataservice.domain.FileUploadRecord;
import com.yjhh.chdataservice.domain.PolicyInfo;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * description:PolicyInfo

 */
@Repository
public interface PolicyInfoRepository extends PagingAndSortingRepository<PolicyInfo, String>, JpaSpecificationExecutor<PolicyInfo> {

    List<PolicyInfo> findByTitleAndDataFlag(String title, Integer dataFlag);

}
